/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * EcranEleve.java
 *
 * Created on 24 mai 2010, 01:18:28
 */

package eleve;

import com.mysql.jdbc.Connection;

/**
 *
 * @author Labassi Amine
 */
public class EcranEleve extends javax.swing.JFrame {

    private Connection cnt = null ;
    /** Creates new form EcranEleve */
    public EcranEleve(Connection pCnt) {
        initComponents();
        cnt = pCnt ;
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenuBar1 = new javax.swing.JMenuBar();
        jMenuApp = new javax.swing.JMenu();
        jMenuItemQuitter = new javax.swing.JMenuItem();
        jMenuODS = new javax.swing.JMenu();
        jMenuItemAjouterODS = new javax.swing.JMenuItem();
        jMenuItemConsulODS = new javax.swing.JMenuItem();
        jMenuConvDS = new javax.swing.JMenu();
        jMenuItemDmdCDS = new javax.swing.JMenuItem();
        jMenuItemDmdVal = new javax.swing.JMenuItem();
        jMenuItemDmdAnnul = new javax.swing.JMenuItem();
        jMenuRapports = new javax.swing.JMenu();
        jMenuItemLivRappInstal = new javax.swing.JMenuItem();
        jMenuItemLivRappMiStage = new javax.swing.JMenuItem();
        jMenuItemLivRappStage = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("ISTY - Application de gestion de stage - Elève");

        jMenuApp.setText("Application");

        jMenuItemQuitter.setText("Quitter");
        jMenuApp.add(jMenuItemQuitter);

        jMenuBar1.add(jMenuApp);

        jMenuODS.setText("Offre de stage");

        jMenuItemAjouterODS.setText("Ajouter ODS");
        jMenuODS.add(jMenuItemAjouterODS);

        jMenuItemConsulODS.setText("Consulter ODS");
        jMenuODS.add(jMenuItemConsulODS);

        jMenuBar1.add(jMenuODS);

        jMenuConvDS.setText("Convention de stage");

        jMenuItemDmdCDS.setText("Demande CDS");
        jMenuConvDS.add(jMenuItemDmdCDS);

        jMenuItemDmdVal.setText("Demande de validation CDS");
        jMenuConvDS.add(jMenuItemDmdVal);

        jMenuItemDmdAnnul.setText("Demande d'annulation CDS");
        jMenuConvDS.add(jMenuItemDmdAnnul);

        jMenuBar1.add(jMenuConvDS);

        jMenuRapports.setText("Rapports");

        jMenuItemLivRappInstal.setText("Livraison Rapport d'Installation");
        jMenuRapports.add(jMenuItemLivRappInstal);

        jMenuItemLivRappMiStage.setText("Livraison Rapport Mi Stage");
        jMenuRapports.add(jMenuItemLivRappMiStage);

        jMenuItemLivRappStage.setText("Livraison Rapport de stage");
        jMenuRapports.add(jMenuItemLivRappStage);

        jMenuBar1.add(jMenuRapports);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 953, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 500, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenu jMenuApp;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenu jMenuConvDS;
    private javax.swing.JMenuItem jMenuItemAjouterODS;
    private javax.swing.JMenuItem jMenuItemConsulODS;
    private javax.swing.JMenuItem jMenuItemDmdAnnul;
    private javax.swing.JMenuItem jMenuItemDmdCDS;
    private javax.swing.JMenuItem jMenuItemDmdVal;
    private javax.swing.JMenuItem jMenuItemLivRappInstal;
    private javax.swing.JMenuItem jMenuItemLivRappMiStage;
    private javax.swing.JMenuItem jMenuItemLivRappStage;
    private javax.swing.JMenuItem jMenuItemQuitter;
    private javax.swing.JMenu jMenuODS;
    private javax.swing.JMenu jMenuRapports;
    // End of variables declaration//GEN-END:variables

}
